tapdisk: Fix L1 table endianess of qcow images
authorKeir Fraser <keir.fraser@citrix.com>
Thu, 27 Mar 2008 17:13:37 +0000 (17:13 +0000)
committerKeir Fraser <keir.fraser@citrix.com>
Thu, 27 Mar 2008 17:13:37 +0000 (17:13 +0000)
commitb4f95a5c93a0b14825081d1c794b03ee77306b34
tree1df08d72fd840a3882dc00278702a7b2ee90956a
parent22b0cb305b796fd2f68dd1c7dd4f72f1e772e5dc
tapdisk: Fix L1 table endianess of qcow images

Fix tapdisk to use big endian L1 tables as used by qemu/ioemu. Old
tapdisk images with native endianess are automagically converted to
big endian when the image file is opened for the first time.

Signed-off-by: Kevin Wolf <kwolf@suse.de>
tools/blktap/drivers/block-qcow.c